package com.jlf.core.engine.entity;

import com.jlf.core.engine.domain.SchemaFieldDO;
import lombok.Getter;
import lombok.Setter;

/**
 * 数据表列的元数据
 *
 * @author wujr
 * 2023/7/14
 * @version 1.0
 * 【变更历史】
 * [wujr 2023/7/14 1.0 新增]
 */
@Getter
@Setter
public class MetaColumn {
    private String name;
    private int type;
    private int length;
    private Boolean nullable;
    private String remark;
    /**
     * 小数点
     */
    private Integer decimalDigit;
    private String defaultValue;
    private int radix;
    private Boolean autoIncrement;

    public boolean isAltered(SchemaFieldDO field){
        return false;
    }
}
